package dao;

import java.util.Date;

import model.Appointment;

public interface AppointmentDAO {
	// create
	boolean add(String description, Integer patientId, Integer providerId, 
			Long startDateTime, int duration, String comment);
	boolean add(Appointment provider);

	// read
	Appointment[] 	getAll();
	Appointment 	getById(Integer Id);
	Appointment[] 	getByDescription(String description);
	Appointment[]	getByPatientId(Integer Id);
	Appointment[] 	getByProviderId(Integer Id);
	Appointment[] 	getByPatientProviderId(Integer patientId, Integer providerId);
//	Appointment[] 	getByLocation(String location);
///	Appointment[] 	getByStartDateTime(Long startDateTime);
//	Appointment[] 	getByDuration(int duration);
//	Appointment[] 	getByComment(String Comment);

	// update
	boolean update(Appointment appointment);

	// delete
	boolean delete(Appointment appointment);
}

